﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.Specialized;
using SharedLib.DataStructure;
using SharedLib;

namespace Tracy.DataModel.DownloadAdapter
{
    public interface IDownloadAdapter:IPlugin
    {
        void Download(Resource res, string defaultPath);
        bool IsAvailable();
        bool IsResourceTypeSupported(string type);
        string[] GetTempFileExts(string type);
        string GetTempDownloadFolder(string preferredFolder, MediaFile file);
        string GetValidFileName(string fileName);
    }
}
